/*
 To change this template, choose Tools | Templates
 and open the template in the editor.
 */
package VocSymbTest2;

//import java.util.*;


/*  *
 * @author StiggieBig
 */

public class VocSymbTest2 {

    /*
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Grammar newGrammar = new Grammar();
        
        System.out.println("");
        newGrammar.TestTypes();
        System.out.println("");
        newGrammar.TestGrammarString();
        System.out.println("");
        
        /*newGrammar.allNonTerminals.PrintDebug();
        System.out.println("");
        newGrammar.allTerminals.PrintDebug();
        System.out.println("");
        newGrammar.allSpecialSymbols.PrintDebug();
        System.out.println("");
        newGrammar.allVocabularySymbols.PrintDebug();
        System.out.println("");
        newGrammar.PrintAllFirstSets();
        System.out.println("");
        newGrammar.allVocabularySymbols.PrintDebug();
        System.out.println("");
        newGrammar.PrintFollows();
        System.out.println("");*/
        newGrammar.allGrammarRules.Print();
        newGrammar.PrintCanonicalSets();
        System.out.println("");
        //newGrammar.TestGrammarRule();
    }
    
    /*public static void PrintAllFollowSets(Grammar newGrammar){
        newGrammar.PrintFollows(newGrammar);
        System.out.println();
    }
    
    public static void PrintCanonicalItemSet(Grammar grammar){
        grammar.canonicalSetOfItems.PrintItemSetFamily();
        System.out.println();
    }*/
}